/**
 *
 * jcrt and its source-code is licensed under the LGPL.
 * You may copy, adapt, and redistribute this file for commercial or non-commercial use.
 * When copying, adapting, or redistributing this document in keeping with the guidelines above,
 * you are required to provide proper attribution to obinary.
 * If you reproduce or distribute the document without making any substantive modifications to its content,
 * please use the following attribution line:
 *
 * Copyright 2007 Atjava.com Ltd. (http://www.atjava.com) All rights reserved.
 *
 */
package com.atjava.jcrt.core.query;

import com.atjava.jcrt.core.exception.CoreException;
/**
 * QueryException class which will provide exception nesting functionalities.
 * @author biggie
 * @version $Revision: 1.1 $ $Date: 2008/07/04 00:40:24 $
 */
public class QueryException extends CoreException {

	public QueryException(String message) {
		super(message);
	}
    public QueryException(String message, Exception cause) {
        super(message, (cause instanceof QueryException)
            ? ((QueryException) cause).getCause()
            : cause);
    }

    public QueryException(Throwable root) {
        super(root);
    }
	private static final long serialVersionUID = 1L;

}
